module.exports = {
  filenameHashing:false,
  configureWebpack: {
    resolve: {
      alias: {
        assets: '@/assets'
      }
    }
  },
  devServer: {
    open: false,
    host: '0.0.0.0',
    port: 80,
    https: false,
    hotOnly: true,
    proxy: {
      '/': {
        target: "http://127.0.0.1:8080",
        changeOrigin: true,
        ws: true,
        secure: false,
        pathRewirte: {
          "^/": ''
        }
      },
      'oss': {
        target: "https://lottery-static-javatribe.oss-accelerate.aliyuncs.com",
        changeOrigin: true,
        ws: true,
        secure: false,
        pathRewirte: {
          "^oss": ''
        }
      }
    }
  },
  assetsDir: 'assets'
};